<?php
if(!defined('BASEPATH'))
	exit('No direct script access allowed');

class Valida_sesion
{
	public function __construct()
	{
		$cI = get_instance();

		$cI->load->library('session');

		if (!$cI->session->userdata('logged_in')) {
			redirect('/', 'refresh');
		}
		
		
	}
	
	

	
}